<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'paymentinformation-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php //echo $form->labelEx($model,'idManagement'); ?>
		<?php echo $form->hiddenField($model,'idManagement'); ?>
		<?php //echo $form->error($model,'idManagement'); ?>
	</div>

	<div class="row">
		<?php //echo $form->labelEx($model,'idRentalProperty'); ?>
		<?php echo $form->hiddenField($model,'idRentalProperty'); ?>
		<?php //echo $form->error($model,'idRentalProperty'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Method Of Payment'); ?>
		<?php //echo $form->textField($model,'MethodOfPayment'); ?>
        <?php echo $form->dropDownList($model,'MethodOfPayment',array('1'=>'PayPal','2'=>'Credit Card'),array('prompt'=>'Choose')); ?>
		<?php echo $form->error($model,'MethodOfPayment'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Bank Information'); ?>
		<?php echo $form->textArea($model,'BankInformation',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'BankInformation'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Routing Number'); ?>
		<?php echo $form->textField($model,'RoutingNumber',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'RoutingNumber'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Account Number'); ?>
		<?php echo $form->textField($model,'AccountNumber',array('size'=>15,'maxlength'=>15)); ?>
		<?php echo $form->error($model,'AccountNumber'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Credit Card Number'); ?>
		<?php echo $form->textField($model,'CCNumber',array('size'=>20,'maxlength'=>20)); ?>
		<?php echo $form->error($model,'CCNumber'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Expiration Date'); ?>
		<?php echo $form->textField($model,'ExpirationDate',array('size'=>5,'maxlength'=>5)); ?>
		<?php echo $form->error($model,'ExpirationDate'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'CCV Number'); ?>
		<?php echo $form->textField($model,'CCVNumber'); ?>
		<?php echo $form->error($model,'CCVNumber'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Name On Card'); ?>
		<?php echo $form->textField($model,'NameOnCard',array('size'=>30,'maxlength'=>30)); ?>
		<?php echo $form->error($model,'NameOnCard'); ?>
	</div>

	<div class="row compactRadioGroup">
		<?php echo $form->labelEx($model,'Payment Procedure'); ?><br />
		<?php //echo $form->textField($model,'OneTimeOrReccurring',array('size'=>1,'maxlength'=>1)); ?>
        <?php echo $form->radioButtonList($model,'OneTimeOrReccurring',array('1'=>'Reccurring','0'=>'One Time'),array( 'separator' => "&nbsp; &nbsp;" )); ?>
		<?php echo $form->error($model,'OneTimeOrReccurring'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Date PaymentP refference Set'); ?>
		<?php echo $form->textField($model,'DatePaymentPrefferenceSet'); ?> yyyy-mm-mm hh:mm:ss
		<?php echo $form->error($model,'DatePaymentPrefferenceSet'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'PayPal Account'); ?>
		<?php echo $form->textField($model,'PayPalAccount',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'PayPalAccount'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->